package com.atguigu.gulimall.order.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author kabuda
 * @create 2022-11-28 17:29
 */
@Component
@ConfigurationProperties("gulimall.thread")
@Data
public class ThreadPoolConfigProperties {
    private int coreSize;
    private int maxSize;
    private int keepAliveTime;
}
